
DS1922E
iButton High-Temperature Logger with
8KB Data-Log Memory
Temperature Conversion
The DS1922E’s temperature range begins at +15°C
and ends at +140°C. Temperature values are repre-
sented as an 8- or 16-bit unsigned binary number with
a resolution of 0.5°C in 8-bit mode and 0.0625°C in
16-bit mode.
The higher temperature byte TRH is always valid. In
16-bit mode, only the three highest bits of the lower
byte TRL are valid. The five lower bits all read 0. TRL is
undefined if the device is in 8-bit temperature mode. An
out-of-range temperature reading is indicated as 00h or
0000h when too cold and FFh or FFE0h when too hot.
With TRH and TRL representing the decimal equivalent
of a temperature reading, the temperature value is cal-
culated as:
? (°C) = TRH/2 + 14 + TRL/512 (16-bit mode,
This equation is valid for converting temperature read-
ings stored in the data-log memory as well as for data
read from the Latest Temperature Conversion Result
register.
To specify the temperature alarm thresholds, the previ-
ous equations are resolved to:
TALM = 2 x ? (°C) - 28
Because the temperature alarm threshold is only one
byte, the resolution or temperature increment is limited
to 0.5°C. The TALM value must be converted into hexa-
decimal format before it can be written to one of the
Temperature Alarm Threshold registers (Low Alarm
address 0208h; High Alarm address 0209h).
Independent of the conversion mode (8- or 16-bit), only
the most significant byte of a temperature conversion is
used to determine whether an alarm is generated.
TLFS = 1, see address 0213h)
? (°C) = TRH/2 + 14 (8-bit mode, TLFS = 0,
see address 0213h)
Latest Temperature Conversion Result Register
ADDRESS
020Ch
020Dh
BIT 7
T2
T10
BIT 6
T1
T9
BIT 5
T0
T8
BIT 4
0
T7
BIT 3
0
T6
BIT 2
0
T5
BIT 1
0
T4
BIT 0
0
T3
BYTE
TRL
TRH
Table 1. Temperature Conversion Examples
MODE
8-Bit
8-Bit
16-Bit
16-Bit
HEX
54h
17h
54h
17h
TRH
DECIMAL
84
23
84
23
HEX
—
—
00h
60h
TRL
DECIMAL
—
—
0
96
(°C)
56.0
25.5
56.0000
25.6875
Table 2. Temperature Alarm Threshold Examples
(°C)
65.5
30.0
Maxim Integrated
HEX
67h
20h
TALM
DECIMAL
103
32
13